<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta name="_token" content="{{ csrf_token() }}"/><!--防跨站伪造请求攻击-->
    <title>百舌鞋城-欢迎登录</title>
    <link rel="stylesheet" type="text/css" href="{{asset('/home/css/login_style.css')}}">
    <link type="text/css" rel="stylesheet"  href="{{asset('/home/css/fi000001.css')}}">
    <script type="text/javascript" src="{{asset('admin/plugins/jQuery/jQuery-2.2.0.min.js')}}">
    </script>   
</head>
<body>
<!-- SDK 登录 -->
    <div class="w">
        <div id="logo">
            <a href="#" ><img src="{{$LOG}}"  alt="乌鸦" width="304" height="60" style="float:left;"></a>
           <!--  <b></b> -->
           <img src="{{asset('/home/img/l-icon.png')}}" style="margin-top:10px;margin-left:20px;">
        </div>
    </div>

    <div id="content">
        <div class="login-wrap">
            <div class="w">
                <div class="login-form" style="height:325px">
                    <div class="login-box">
                        <div class="mt">
                            <h1>乌鸦会员</h1>
                            <div class="extra-r">
                                <div class="regist-link"><a href="{{asset('/register')}}" target="_blank"><b></b>立即注册</a></div>
                            </div>
                        </div>
                        <div class="msg-wrap">                         
                                @if(session('error'))
                                    <div class="msg-error " style="background:url('/home/img/pwd-icons-new.png') -95px -45px no-repeat">
                                       <div style="float:left ">{{session('error')}}</div>
                                    </div>
                                @else                                                      
                                     @if (count($errors) > 0)
                                           <div class="msg-error " style="background:url('/home/img/pwd-icons-new.png') -95px -45px no-repeat">
                                                  @foreach ($errors->all() as $error)
                                                     <div style="float:left ">{{ $error }}&nbsp;&nbsp;</div>
                                                  @endforeach
                                          </div>
                                     @else
                                     <div class="msg-warn "><b></b>公共场所不建议自动登录，以防账号丢失
                                     </div>
                                     @endif
                                @endif
                        </div>
                        <div class="mc">                  
                            <div class="form">
                                <form id="formlogin" action="{{asset('dologin')}}" method="post" >
                                {{csrf_field()}}   
                                        <div  class="item item-fore1">
                                                    <label for="loginname"  class="login-label pwd-label" for="loginname"></label>
                                                    <input id="loginname" type="text" class="itxt" name="name" value="{{old('name')}}" tabindex="1" autocomplete="off"
                                                    placeholder="邮箱/用户名/已验证手机" />
                                                    <span class="clear-btn"></span>
                                        </div>
                                        <div id="entry" class="item item-fore2">
                                            <label class="login-label pwd-label" for="nloginpwd"></label>
                                            <label id="sloginpwd" style="display: none;"></label>
                                            <input type="password" id="nloginpwd" name="password"  class="itxt itxt-error" tabindex="2" autocomplete="off" placeholder="密码"/>               
                                            <span class="clear-btn"></span>
                                            <span class="capslock"><b></b>大小写锁定已打开</span>
                                        </div>
                                        <div class="item item-fore3">
                                            <div class="safe">
                                                <span>
                                                    <input id="autoLogin" name="chkRememberMe" type="checkbox" class="jdcheckbox" tabindex="3"  clstag="pageclick|keycount|20150112ABD|6">
                                                    <label for="">自动登录</label>
                                                </span>
                                                <span class="forget-pw-safe">
                                                    <a href="{{url('/reset')}}"  class="" target="_blank" clstag="pageclick|keycount|20150112ABD|8">忘记密码?</a>
                                                </span>
                                            </div>
                                            <div class="updata" id="updata" style="display:none;">安全控件升级了!<a href="javascript:void(0);" class="up-two">立即更新</a> <a class="up-one" href="javascript:void(0);" onclick="$('#updata').hide();"></a></div>
                                        </div>
                                        <div class="form-group" style="">
                                              <div >
                                                 <input type="text"  name="code"  style="height:30px;text-align:center;" size="10" placeholder="">
                                              </div>
                                              <span class="clear-btn"></span>
                                               <div class="col-sm-6 col-md-7">
                                                <img id="vc" alt="点击刷新" src="{{asset('/v_code/1')}}" style="height:36px;padding-left:5px"/>
                                              </div>
                                              <script>
                                                // alert($);
                                                $('#vc').on('mouseover',function(){
                                                    $(this).css('cursor','pointer');
                                                });
                                                $('#vc').on('click',function(){
                                                    var rand=Math.random();
                                                    var src="{{asset('/v_code/')}}"+'/'+Math.random();
                                                    $(this).attr('src',src);
                                                });
                                              </script>
                                        </div> 
                                        <br>                                   
                                        <button typt="submit" style="width:304px;height:33px;background:#E4393C;border:1px solid #e85356;text-align:center;line-height:31px;font-size:22px;color:white;cursor:pointer">
                                           登&nbsp;&nbsp;&nbsp;&nbsp;录
                                        </button>
                                </form>
                            </div>
                        </div>
                        <div class="qrcode-login">
                            <div class="mc">
                                <div class="qrcode-desc"><h2>用乌鸦APP <span class="ml5">扫码安全登录</span></h2></div>
                                <div class="qrcode-error">
                                    <b></b>
                                    <h6>登录失败</h6>
                                    请刷新二维码后重新扫描
                                </div>
                                <div class="qrcode-main">
                                    <div class="qrcode-img">
                                        <img src="{{asset('/home/img/blank.gif')}}"  alt="">
                                    </div>
                                    <div class="qrcode-panel">
                                        <ul>
                                            <li class="fore1">
                                                <a href="#none">刷新二维码</a>
                                            </li>
                                            <li><a href="#">使用帮助</a></li>
                                        </ul>
                                        <div class="qrcode-tips">
                                            <span>扫描不上，版本过低？</span>
                                            <div class="triangle-border tb-border"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <a href="#nogo" class="qrcode-target btn-2qrcode" clstag="pageclick|keycount|20150112ABD_201505135|1">扫码登录</a>
                    </div>
                </div>
                <div class="login-banner" clstag="pageclick|keycount|20150112ABD|46">
                    {{--登录广告--}}
                    <div class="pic" >
                        <ul>
                        @foreach($arr as $v)
                            <li style="background:url({{ $v->ad_pic }}) center;">
                                <div class="nav"></div>
                                <div class="bar"><p></p></div>
                            </li>
                            {{--<img src="{{ $v->ad_pic }}">--}}
                        @endforeach
                        </ul>
                    </div>
                    {{--登录广告--}}
                </div>
            </div>
        </div>
    </div>

    <div class="w">
        <div id="footer-2013">
            <div class="links">
                <a rel="nofollow"  href="#" >
                    关于我们
                </a>
                |
                <a rel="nofollow"  href="#">
                    联系我们
                </a>
                |
                <a rel="nofollow"  href="#">
                    人才招聘
                </a>
                |
                <a rel="nofollow"  href="#">
                    商家入驻
                </a>
                |
                <a rel="nofollow"  href="#">
                    广告服务
                </a>
                |
                <a rel="nofollow"  href="#">
                    手机乌鸦
                </a>
                |
                <a  href="#">
                    友情链接
                </a>
                |
                <a  href="#">
                    销售联盟
                </a>
                |
                <a href="#"  >
                    乌鸦社区
                </a>
                |
                <a href="#" >
                    乌鸦公益
                </a>
                |
                <a  href="#">English Site</a>
            </div>
            <div class="copyright">
                Copyright&copy;2016-2017&nbsp;&nbsp;乌鸦WY.com&nbsp;版权所有
            </div>
        </div>
    </div>
<script type="text/javascript">
    var i=0;
    jummper();
    function jummper(){
        $(".pic ul li").eq(i).find("img").css("left","-1180px");
        $(".pic ul li").eq(i).find("p").css("width","0px");
        $(".pic ul li").eq(i).find("img").animate({left:"0px"},500,function(){
            //当图片移动完成后再加载进度条
            //alert("当图片移动完成后再做操作");
            $(".pic ul li").eq(i).find("p").animate({width:"1174px"},8000,function(){
                $(".pic ul li").eq(i).find("img").animate({left:"1180px"},500,function(){
                    i++;
                    if(i>2)
                        i=0;
                    $(".pic ul li").eq(i).fadeIn(100).siblings().fadeOut(100);
                });
            });
        });
    }
    setInterval("jummper()",18100);
</script>
<!-- SDK 登录 -->
</body>
</html>

